#@adminLayout()
#define main()
<div class="jbolt_page" data-key="#(pmkey)">
<div class="jbolt_page_title">
	<div class="row">
	<div class="col-4">
	<h1>JBolt版本管理</h1>
	<span> #(pageData.totalRow?? 0) 条记录</span>
	</div>
	<div class="col-3">
		<form class="form-inline" id="jboltversionForm" action="admin/jboltversion"   method="get"></form>
	</div>
	<div class="col-5">
<div class="btn-group pull-right" role="group" aria-label="btn-group">
	<button class="btn btn-secondary" data-downloadbtn  data-url="admin/jboltversion/download"><i class="fa fa-download"></i> 导出Excel</button>
	<button data-area="600,400" data-scroll="yes" data-handler="refreshPjaxContainer" data-title="新增版本" data-url="admin/jboltversion/add" class="jbolt_table_addbtn btn btn-secondary" ><i class="fa fa-plus"></i> 新增</button>
</div>
	</div>
	</div>
</div>
<div class="jbolt_page_content">
<div class="table-responsive">
<table class="table table-bordered table-hover table-striped table-center">
<thead>
<tr><th style="width: 60px">序号</th><th style="width: 150px">版本号</th><th style="width: 150px">发布时间</th><th style="width: 150px">创建时间</th><th style="width: 100px">是否最新版</th><th  style="width: 120px">changeLog管理</th><th  style="width: 120px">更新文件管理</th><th  style="width: 120px">操作</th></tr>
</thead>
<tbody>
#for(data:pageData.list??)
<tr>
<td>#rownum(for.count,pageData.pageNumber,pageData.pageSize)</td>
<td>#(data.version??)</td>
<td>#date(data.publishTime??,"yyyy-MM-dd HH:mm")</td>
<td>#date(data.createTime??,"yyyy-MM-dd HH:mm")</td>
<td><img data-switchbtn data-value="#(data.isNew?? false)" data-handler="refreshPjaxContainer"  data-url="admin/jboltversion/toggleIsNew/#(data.id)"/></td>
<td><a  tooltip  title="日志管理"  href="admin/jboltversion/changelog/#(data.id)" data-scroll="yes"   data-title="日志管理" data-area="980,80%" class="jbolt_table_editbtn"><i class="fa fa-file-text c-primary"></i></a></td>
<td><a  tooltip  title="更新文件管理"  href="admin/jboltversion/files/#(data.id)" data-scroll="yes"  data-btn="no" data-title="更新文件管理" data-area="980,600" class="jbolt_table_editbtn"><i class="fa fa-files-o c-primary"></i></a></td>
<td>
<a  tooltip  title="编辑"  href="admin/jboltversion/edit/#(data.id)" data-scroll="yes" data-handler="refreshPjaxContainer" data-title="编辑" data-area="600,400" class="jbolt_table_editbtn"><i class="fa fa-pencil c-primary"></i></a>
<a  tooltip  title="删除"  href="admin/jboltversion/delete/#(data.id)" data-handler="removeTr" class="jbolt_table_delbtn"><i class="fa fa-remove c-danger"></i></a>
</td>
</tr>
#end
</tbody>
</table>	
</div>
#include("/_view/_admin/common/_page.html",pageEleId="jboltversionPage")
</div>
</div>
#end
#define js()
<script>
$(function(){
	initPage("jboltversionPage",#(pageData.totalPage??),#(pageData.pageNumber??),"jboltversionForm");
});
</script>
#end

